<%--
  Created by IntelliJ IDEA.
  User: 兰宦君
  Date: 2015/10/26
  Time: 11:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
  <title>BookStore——我的网上书店</title>
  <%@ include file="../layout/import.jsp"%>
</head>
<body>
<%@include file="nav.jsp"%>
<div class="container" style="min-height: 75%">
  <div>
    订单号：<strong>2012</strong>  收件人：<strong>username</strong>
  </div>
  <div >
    <table class="table table-bordered">
      <thead>
      <tr>
        <th>
          编号
        </th>
        <th>
          图书编号
        </th>
        <th>
          出版社
        </th>
        <th>
          单价
        </th>
        <th>
          数量
        </th>
        <th>
          总价
        </th>
        <th>
          总价
        </th>
      </tr>
      </thead>
      <tbody>
      <tr>
        <c:forEach var="car" items="cars" begin="1" step="1" varStatus="status">
          <th>
              ${status.count}
          </th>
          <th>
              ${car.bookId}
          </th>
          <th>
              ${car.bookName}
          </th>
          <th>
              ${car.publisher}
          </th>
          <th>
              ${car.price}
          </th>
          <th>
              ${car.bookNumber}
          </th>
          <th>
             ${car.tatolPrice}
          </th>
        </c:forEach>
      </tr>
      </tbody>
    </table>
    <div class="btn-group">
      <a class="btn-info" href="/index.do">返回首页</a>
    </div>
  </div>
</div>
<%@include file="footer.jsp"%>
</body>
</html>
